export default class BizSubjectController {
  static list(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      'admin/biz/subject/findByCondition',
      'post',
      params,
      axiosOption,
      httpOption
    );
  }
  static edit(sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/biz/subject/edit', 'post', params, axiosOption, httpOption);
  }
  static findById(sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/biz/subject/findById', 'get', params, axiosOption, httpOption);
  }
  static findByFront(sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/biz/subject/findByFront', 'post', params, axiosOption, httpOption);
  }
  static uploadSubject(sender, params) {
    return sender.upload('admin/biz/subject/import', params);
  }
  static findByPage(sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/biz/subject/findByPage', 'post', params, axiosOption, httpOption);
  }
  static downloadTemplate(sender, params, fileName) {
    return sender.download('admin/biz/subject/template/download', params, fileName);
  }
  static findSurveyByFront(sender, params, axiosOption, httpOption) {
    return sender.doUrl(
      'admin/biz/subject/findSurveyByFront',
      'post',
      params,
      axiosOption,
      httpOption
    );
  }
  static logicDelete(sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/biz/subject/logic/delete', 'post', params, axiosOption, httpOption);
  }
}
